package study.rpc.sofa.bolt.support.server;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Slf4j
@Configuration
public class BoltServerConfig {

    @Bean(initMethod = "start", destroyMethod = "shutdown")
    public BoltServer boltServer() {
        return new BoltServer(8899);
    }
}
